/*
 * RFTXSenderModule.h
 *
 *  Created on: 21/02/2012
 *      Author: xavi
 */

#ifndef RFSENDERMODULE_H_
#define RFSENDERMODULE_H_

#include "SenderModule.h"

class RFSenderModule: public SenderModule {

private:
	int state;
	bool init;
	int port;//port to send
	String sourceId; // whoami

public:
	static const unsigned int BUFFER_SIZE=50;
	RFSenderModule(String srcId,int initialState,int nBPS,int portTXVirtualWire);
	virtual ~RFSenderModule();
	void sendMessage(Message& message);
};

#endif /* RFTXSENDERMODULE_H_ */
